package com.news.cloud.web.model.rss;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonSetter;

import javax.xml.bind.annotation.XmlElement;
import java.util.List;

/**
 * Created by hiephn on 2014/04/24.
 */
public class Channel {
    private String title;
    private String description;
    private String pubDate;
    private String link;
    private String generator;
    private List<Item> itemList;

    public List<Item> getItemList() {
        return itemList;
    }

    @XmlElement(name = "item")
    public void setItemList(List<Item> itemList) {
        this.itemList = itemList;
    }

    @XmlElement
    public String getGenerator() {
        return generator;
    }

    public void setGenerator(String generator) {
        this.generator = generator;
    }

    @XmlElement
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @XmlElement
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @XmlElement
    public String getPubDate() {
        return pubDate;
    }

    public void setPubDate(String pubDate) {
        this.pubDate = pubDate;
    }

    @XmlElement
    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

}
